package com.clkj.mobileinspector.model.bean;

import java.util.List;

/**
 * @author 松
 * 2020/10/8 10:39
 */
public class PolicedeptBean {

    /**
     * child : [{"child":[],"delflag":0,"deptid":4,"name":"二所","parentid":2}]
     * delflag : 0
     * deptid : 2
     * name : 测试局
     * parentid : 0
     */

    private int delflag;
    private int deptid;
    private String name;
    private int parentid;
    private List<ChildBean> child;

    public int getDelflag() {
        return delflag;
    }

    public void setDelflag(int delflag) {
        this.delflag = delflag;
    }

    public int getDeptid() {
        return deptid;
    }

    public void setDeptid(int deptid) {
        this.deptid = deptid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    public static class ChildBean {
        /**
         * child : []
         * delflag : 0
         * deptid : 4
         * name : 二所
         * parentid : 2
         */

        private int delflag;
        private int deptid;
        private String name;
        private int parentid;
        private List<?> child;

        public int getDelflag() {
            return delflag;
        }

        public void setDelflag(int delflag) {
            this.delflag = delflag;
        }

        public int getDeptid() {
            return deptid;
        }

        public void setDeptid(int deptid) {
            this.deptid = deptid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }

        public List<?> getChild() {
            return child;
        }

        public void setChild(List<?> child) {
            this.child = child;
        }
    }
}
